package com.link2room.ironhide.facade;

import com.link2room.ironhide.dto.param.manager.HotelsManagerParamDto;
import com.link2room.ironhide.dto.param.manager.L2RGroupAreaManagerParamDto;
import com.link2room.ironhide.dto.result.base.PositionBaseDto;

import java.util.List;

/**
 * Created by sss on 2017/6/28.
 */
public interface IL2RPositionsFacadeService {
    /**
     * 城市属性信息列表
     * @throws Exception
     */
    List<PositionBaseDto> listPositionBase(L2RGroupAreaManagerParamDto l2RGroupAreaManagerParamDto)throws Exception;

    /**
     * 集团在用基础城市属性信息列表
     * @param l2RGroupAreaManagerParamDto
     * @return
     * @throws Exception
     */
    List<PositionBaseDto> listPositionBaseGroupUse(L2RGroupAreaManagerParamDto l2RGroupAreaManagerParamDto)throws Exception;

    /**
     * 酒店在用基础城市属性信息列表
     * @param l2RGroupAreaManagerParamDto
     * @return
     * @throws Exception
     */
    List<PositionBaseDto> listPositionBaseHotelUse(L2RGroupAreaManagerParamDto l2RGroupAreaManagerParamDto)throws Exception;

    /**
     * 保存城市属性
     * @param l2RGroupAreaManagerParamDto
     * @throws Exception
     */
    void saveL2RGroupPositionBase(L2RGroupAreaManagerParamDto l2RGroupAreaManagerParamDto)throws Exception;

    void saveOrUpdateL2RHotelPosition(HotelsManagerParamDto hotelsManagerParamDto)throws Exception;

}
